#ifndef __PHYSICS_H_H_
#define __PHYSICS_H_H_

#include "mytype.h"

#ifdef __cplusplus
extern "C"
{
#endif

	float steam_temp_to_press(float Temp); 
	float steam_press_to_temp(float fkp);
	
	double steam_temp_to_press_d(double Temp);
	double steam_press_to_temp_d(double fkp);
	
	float circular_plane_press(float pa, float diameter);

	float stri_f0_inc_p1(float temp, int tm_sec);

	float stri_f0_inc_p0(float temp, int tm_sec);

    uint32_t q12_line_speed_2pirf(uint32_t q12_d, uint32_t q12_f);

    uint32_t q12_ncm_cal(uint32_t q12_v, uint32_t q12_i, uint32_t q12_rpm);

#ifdef __cplusplus
}
#endif

#endif 
